package com.example.dao;

import com.example.entity.User;
import java.util.Map;

public interface UserDao {
    User findByUsername(String username);
    User findByUsernameAndRole(Map<String, String> params);
    int save(User user);
}